<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>注册——NMN简谱</title>

  <!-- Bootstrap -->

  <link type="text/css" rel="stylesheet" href="${request.contextPath}/bootstrap/bootstrap.min.css">
  <link type="text/css" rel="stylesheet" href="${request.contextPath}/bootstrap/style.css">

  <script type="text/javascript">

  </script>
</head>
<body>
<nav class="navbar navbar-inverse">
  <div class="container">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <img id="smallimg" alt="logo" src="images/logo.jpg">
    </div>
    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <#--      <ul class="nav navbar-nav">-->
      <#--        <li class="active"><a href="#">开始创作<span class="sr-only">(current)</span></a></li>-->
      <#--      </ul>-->
      <ul class="nav navbar-nav navbar-right">
        <li><a href="/toRegister">注册</a></li>
        <#--        <li class="dropdown">-->
        <#--          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">个人中心 <span class="caret"></span></a>-->
        <#--          <ul class="dropdown-menu">-->
        <#--            <li><a href="#">Action</a></li>-->
        <#--            <li><a href="#">Another action</a></li>-->
        <#--            <li><a href="#">Something else here</a></li>-->
        <#--            <li role="separator" class="divider"></li>-->
        <#--            <li><a href="#">Separated link</a></li>-->
        <#--          </ul>-->
        <#--        </li>-->
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
<table id="login-table">
  <tr>
    <td><img id="bigimg" src="/images/logo.jpg"></td>
    <td>
      <form action="/register" method="post" style="text-align: center">
        <div class="form-group">
          <label>用户名</label>
          <input name="loginname" type="text" class="form-control" id="username" placeholder="请输入用户名">
        </div>
        <div class="form-group">
          <label>密码</label>
          <input name="pwd" type="password" class="form-control"  placeholder="请输入密码">
        </div>
        <div class="form-group">
          <label>昵称</label>
          <input name="name" type="text" class="form-control"  placeholder="请输入昵称">
        </div>
        <button  type="submit" class="btn btn-primary">注 册</button>
      </form>
      <span>${msg!}</span>
    </td>
  </tr>
</table>

<script src="${request.contextPath}/jquery.min.js" ></script>
<script src="${request.contextPath}/bootstrap/bootstrap.min.js"></script>

</body>
</html>
